#ifndef BILLBOARD_H
#define BILLBOARD_H

#include "Objet.h"
#include "Point.h"
#include "Texture.h"
#include "Phong.h"
#include "Plan.h"
#include <math.h>

class Billboard : public Objet {
protected:
	Point origine;
	Texture alpha;
	int nbRepet;
public:
	Plan * plans;
	Texture * alphas;
	Texture * texts;
	Billboard();
	Billboard(Point&, Texture *, Texture *, int);
	~Billboard(){}
	void intersection(const Rayon &,Intersection &);
	bool ombre(const Rayon &, double);
	void setIllum(Illumination * i);
	Point getOrigine() {return origine;}
};

#endif